package com.karal.javase.cher03;

/**
 * @TODO
 * @Author xu
 * 2025/3/6
 */
public class MP3Player implements StorageDevice{
    @Override
    public void read() {
        System.out.println("从MP3播放器读取音乐数据...");
    }

    @Override
    public void write() {
        System.out.println("向MP3播放器写入音乐数据...");
    }

    public void playMusic() {
        System.out.println("播放音乐...");
    }

}
